<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
      <el-form-item label="共几页" prop="totalPage">
        <el-input v-model="queryParams.totalPage" placeholder="请输入共几页" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="第几页" prop="page">
        <el-input v-model="queryParams.page" placeholder="请输入第几页" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="检测单位名称" prop="jiancdwmc">
        <el-input v-model="queryParams.jiancdwmc" placeholder="请输入检测单位名称" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="报告编号" prop="baogbh">
        <el-input v-model="queryParams.baogbh" placeholder="请输入报告编号" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="施工/委托单位" prop="shigwtdw">
        <el-input v-model="queryParams.shigwtdw" placeholder="请输入施工/委托单位" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="工程名称" prop="gongcmc">
        <el-input v-model="queryParams.gongcmc" placeholder="请输入工程名称" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="工程部位/用途" prop="gongcbwyt">
        <el-input v-model="queryParams.gongcbwyt" placeholder="请输入工程部位/用途" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="样品名称" prop="yangpmc">
        <el-input v-model="queryParams.yangpmc" placeholder="请输入样品名称" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="样品编号" prop="yangpbh">
        <el-input v-model="queryParams.yangpbh" placeholder="请输入样品编号" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="样品数量" prop="yangpsl">
        <el-input v-model="queryParams.yangpsl" placeholder="请输入样品数量" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="样品状态" prop="yangpzt">
        <el-input v-model="queryParams.yangpzt" placeholder="请输入样品状态" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="样品时间" prop="yangpsj">
        <el-input v-model="queryParams.yangpsj" placeholder="请输入样品时间" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="检测依据" prop="jiancyj">
        <el-input v-model="queryParams.jiancyj" placeholder="请输入检测依据" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="判定依据" prop="pandyj">
        <el-input v-model="queryParams.pandyj" placeholder="请输入判定依据" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="主要仪器设备名称及编号" prop="zhuyyqsbmcjbh">
        <el-input v-model="queryParams.zhuyyqsbmcjbh" placeholder="请输入主要仪器设备名称及编号" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="设计强度(MPa)" prop="shejqd">
        <el-input v-model="queryParams.shejqd" placeholder="请输入设计强度(MPa)" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="试件尺寸(mm)" prop="shijcc">
        <el-input v-model="queryParams.shijcc" placeholder="请输入试件尺寸(mm)" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="流动度(S)" prop="liudd">
        <el-input v-model="queryParams.liudd" placeholder="请输入流动度(S)" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="取样部位1" prop="qvybw1">
        <el-input v-model="queryParams.qvybw1" placeholder="请输入取样部位1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="制件日期1" prop="zijrq1">
        <el-input v-model="queryParams.zijrq1" placeholder="请输入制件日期1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="试验日期1" prop="shiyrq1">
        <el-input v-model="queryParams.shiyrq1" placeholder="请输入试验日期1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="龄期1" prop="qil1">
        <el-input v-model="queryParams.qil1" placeholder="请输入龄期1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度技术指标1" prop="kangzqdjszb1">
        <el-input v-model="queryParams.kangzqdjszb1" placeholder="请输入抗折强度技术指标1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值11" prop="kangzqddz11">
        <el-input v-model="queryParams.kangzqddz11" placeholder="请输入抗折强度单值11" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值12" prop="kangzqddz12">
        <el-input v-model="queryParams.kangzqddz12" placeholder="请输入抗折强度单值12" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值13" prop="kangzqddz13">
        <el-input v-model="queryParams.kangzqddz13" placeholder="请输入抗折强度单值13" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度平均值1" prop="kangzqdpjz1">
        <el-input v-model="queryParams.kangzqdpjz1" placeholder="请输入抗折强度平均值1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度结果判定1" prop="kangzqdjgpd1">
        <el-input v-model="queryParams.kangzqdjgpd1" placeholder="请输入抗折强度结果判定1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度技术指标1" prop="kangyqdjszb1">
        <el-input v-model="queryParams.kangyqdjszb1" placeholder="请输入抗压强度技术指标1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值11" prop="kangyqddz11">
        <el-input v-model="queryParams.kangyqddz11" placeholder="请输入抗压强度单值11" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值12" prop="kangyqddz12">
        <el-input v-model="queryParams.kangyqddz12" placeholder="请输入抗压强度单值12" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值13" prop="kangyqddz13">
        <el-input v-model="queryParams.kangyqddz13" placeholder="请输入抗压强度单值13" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值14" prop="kangyqddz14">
        <el-input v-model="queryParams.kangyqddz14" placeholder="请输入抗压强度单值14" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值15" prop="kangyqddz15">
        <el-input v-model="queryParams.kangyqddz15" placeholder="请输入抗压强度单值15" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值16" prop="kangyqddz16">
        <el-input v-model="queryParams.kangyqddz16" placeholder="请输入抗压强度单值16" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度平均值1" prop="kangyqdpjz1">
        <el-input v-model="queryParams.kangyqdpjz1" placeholder="请输入抗压强度平均值1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度结果判定1" prop="kangyqdjgpd1">
        <el-input v-model="queryParams.kangyqdjgpd1" placeholder="请输入抗压强度结果判定1" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="取样部位2" prop="qvybw2">
        <el-input v-model="queryParams.qvybw2" placeholder="请输入取样部位2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="制件日期2" prop="zijrq2">
        <el-input v-model="queryParams.zijrq2" placeholder="请输入制件日期2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="试验日期2" prop="shiyrq2">
        <el-input v-model="queryParams.shiyrq2" placeholder="请输入试验日期2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="龄期2" prop="qil2">
        <el-input v-model="queryParams.qil2" placeholder="请输入龄期2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度技术指标2" prop="kangzqdjszb2">
        <el-input v-model="queryParams.kangzqdjszb2" placeholder="请输入抗折强度技术指标2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值21" prop="kangzqddz21">
        <el-input v-model="queryParams.kangzqddz21" placeholder="请输入抗折强度单值21" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值22" prop="kangzqddz22">
        <el-input v-model="queryParams.kangzqddz22" placeholder="请输入抗折强度单值22" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值23" prop="kangzqddz23">
        <el-input v-model="queryParams.kangzqddz23" placeholder="请输入抗折强度单值23" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度平均值2" prop="kangzqdpjz2">
        <el-input v-model="queryParams.kangzqdpjz2" placeholder="请输入抗折强度平均值2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度结果判定2" prop="kangzqdjgpd2">
        <el-input v-model="queryParams.kangzqdjgpd2" placeholder="请输入抗折强度结果判定2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度技术指标2" prop="kangyqdjszb2">
        <el-input v-model="queryParams.kangyqdjszb2" placeholder="请输入抗压强度技术指标2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值21" prop="kangyqddz21">
        <el-input v-model="queryParams.kangyqddz21" placeholder="请输入抗压强度单值21" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值22" prop="kangyqddz22">
        <el-input v-model="queryParams.kangyqddz22" placeholder="请输入抗压强度单值22" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值23" prop="kangyqddz23">
        <el-input v-model="queryParams.kangyqddz23" placeholder="请输入抗压强度单值23" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值24" prop="kangyqddz24">
        <el-input v-model="queryParams.kangyqddz24" placeholder="请输入抗压强度单值24" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值25" prop="kangyqddz25">
        <el-input v-model="queryParams.kangyqddz25" placeholder="请输入抗压强度单值25" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值26" prop="kangyqddz26">
        <el-input v-model="queryParams.kangyqddz26" placeholder="请输入抗压强度单值26" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度平均值2" prop="kangyqdpjz2">
        <el-input v-model="queryParams.kangyqdpjz2" placeholder="请输入抗压强度平均值2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度结果判定2" prop="kangyqdjgpd2">
        <el-input v-model="queryParams.kangyqdjgpd2" placeholder="请输入抗压强度结果判定2" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="取样部位3" prop="qvybw3">
        <el-input v-model="queryParams.qvybw3" placeholder="请输入取样部位3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="制件日期3" prop="zijrq3">
        <el-input v-model="queryParams.zijrq3" placeholder="请输入制件日期3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="试验日期3" prop="shiyrq3">
        <el-input v-model="queryParams.shiyrq3" placeholder="请输入试验日期3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="龄期3" prop="qil3">
        <el-input v-model="queryParams.qil3" placeholder="请输入龄期3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度技术指标3" prop="kangzqdjszb3">
        <el-input v-model="queryParams.kangzqdjszb3" placeholder="请输入抗折强度技术指标3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值31" prop="kangzqddz31">
        <el-input v-model="queryParams.kangzqddz31" placeholder="请输入抗折强度单值31" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值32" prop="kangzqddz32">
        <el-input v-model="queryParams.kangzqddz32" placeholder="请输入抗折强度单值32" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度单值33" prop="kangzqddz33">
        <el-input v-model="queryParams.kangzqddz33" placeholder="请输入抗折强度单值33" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度平均值3" prop="kangzqdpjz3">
        <el-input v-model="queryParams.kangzqdpjz3" placeholder="请输入抗折强度平均值3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗折强度结果判定3" prop="kangzqdjgpd3">
        <el-input v-model="queryParams.kangzqdjgpd3" placeholder="请输入抗折强度结果判定3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度技术指标3" prop="kangyqdjszb3">
        <el-input v-model="queryParams.kangyqdjszb3" placeholder="请输入抗压强度技术指标3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值31" prop="kangyqddz31">
        <el-input v-model="queryParams.kangyqddz31" placeholder="请输入抗压强度单值31" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值32" prop="kangyqddz32">
        <el-input v-model="queryParams.kangyqddz32" placeholder="请输入抗压强度单值32" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值33" prop="kangyqddz33">
        <el-input v-model="queryParams.kangyqddz33" placeholder="请输入抗压强度单值33" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值34" prop="kangyqddz34">
        <el-input v-model="queryParams.kangyqddz34" placeholder="请输入抗压强度单值34" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值35" prop="kangyqddz35">
        <el-input v-model="queryParams.kangyqddz35" placeholder="请输入抗压强度单值35" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度单值36" prop="kangyqddz36">
        <el-input v-model="queryParams.kangyqddz36" placeholder="请输入抗压强度单值36" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度平均值3" prop="kangyqdpjz3">
        <el-input v-model="queryParams.kangyqdpjz3" placeholder="请输入抗压强度平均值3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="抗压强度结果判定3" prop="kangyqdjgpd3">
        <el-input v-model="queryParams.kangyqdjgpd3" placeholder="请输入抗压强度结果判定3" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="检测结论" prop="jiancjl">
        <el-input v-model="queryParams.jiancjl" placeholder="请输入检测结论" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item label="附加声明" prop="fujsm">
        <el-input v-model="queryParams.fujsm" placeholder="请输入附加声明" clearable @keyup.enter.native="handleQuery" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>

    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd" v-hasPermi="['report_yj:snjjqdsybgBsInfo:add']">新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" v-hasPermi="['report_yj:snjjqdsybgBsInfo:edit']">修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button type="danger" plain icon="el-icon-delete" size="mini" :disabled="multiple" @click="handleDelete" v-hasPermi="['report_yj:snjjqdsybgBsInfo:remove']">删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['report_yj:snjjqdsybgBsInfo:export']">导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>

    <el-table v-loading="loading" :data="snjjqdsybgBsInfoList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="一份excel表格的唯一id(其他的excel主表，都应有此字段）" align="center" prop="excelId" v-if="true" />
      <el-table-column label="共几页" align="center" prop="totalPage" />
      <el-table-column label="第几页" align="center" prop="page" />
      <el-table-column label="检测单位名称" align="center" prop="jiancdwmc" />
      <el-table-column label="报告编号" align="center" prop="baogbh" />
      <el-table-column label="施工/委托单位" align="center" prop="shigwtdw" />
      <el-table-column label="工程名称" align="center" prop="gongcmc" />
      <el-table-column label="工程部位/用途" align="center" prop="gongcbwyt" />
      <el-table-column label="样品名称" align="center" prop="yangpmc" />
      <el-table-column label="样品编号" align="center" prop="yangpbh" />
      <el-table-column label="样品数量" align="center" prop="yangpsl" />
      <el-table-column label="样品状态" align="center" prop="yangpzt" />
      <el-table-column label="样品时间" align="center" prop="yangpsj" />
      <el-table-column label="检测依据" align="center" prop="jiancyj" />
      <el-table-column label="判定依据" align="center" prop="pandyj" />
      <el-table-column label="主要仪器设备名称及编号" align="center" prop="zhuyyqsbmcjbh" />
      <el-table-column label="设计强度(MPa)" align="center" prop="shejqd" />
      <el-table-column label="试件尺寸(mm)" align="center" prop="shijcc" />
      <el-table-column label="流动度(S)" align="center" prop="liudd" />
      <el-table-column label="取样部位1" align="center" prop="qvybw1" />
      <el-table-column label="制件日期1" align="center" prop="zijrq1" />
      <el-table-column label="试验日期1" align="center" prop="shiyrq1" />
      <el-table-column label="龄期1" align="center" prop="qil1" />
      <el-table-column label="抗折强度技术指标1" align="center" prop="kangzqdjszb1" />
      <el-table-column label="抗折强度单值11" align="center" prop="kangzqddz11" />
      <el-table-column label="抗折强度单值12" align="center" prop="kangzqddz12" />
      <el-table-column label="抗折强度单值13" align="center" prop="kangzqddz13" />
      <el-table-column label="抗折强度平均值1" align="center" prop="kangzqdpjz1" />
      <el-table-column label="抗折强度结果判定1" align="center" prop="kangzqdjgpd1" />
      <el-table-column label="抗压强度技术指标1" align="center" prop="kangyqdjszb1" />
      <el-table-column label="抗压强度单值11" align="center" prop="kangyqddz11" />
      <el-table-column label="抗压强度单值12" align="center" prop="kangyqddz12" />
      <el-table-column label="抗压强度单值13" align="center" prop="kangyqddz13" />
      <el-table-column label="抗压强度单值14" align="center" prop="kangyqddz14" />
      <el-table-column label="抗压强度单值15" align="center" prop="kangyqddz15" />
      <el-table-column label="抗压强度单值16" align="center" prop="kangyqddz16" />
      <el-table-column label="抗压强度平均值1" align="center" prop="kangyqdpjz1" />
      <el-table-column label="抗压强度结果判定1" align="center" prop="kangyqdjgpd1" />
      <el-table-column label="取样部位2" align="center" prop="qvybw2" />
      <el-table-column label="制件日期2" align="center" prop="zijrq2" />
      <el-table-column label="试验日期2" align="center" prop="shiyrq2" />
      <el-table-column label="龄期2" align="center" prop="qil2" />
      <el-table-column label="抗折强度技术指标2" align="center" prop="kangzqdjszb2" />
      <el-table-column label="抗折强度单值21" align="center" prop="kangzqddz21" />
      <el-table-column label="抗折强度单值22" align="center" prop="kangzqddz22" />
      <el-table-column label="抗折强度单值23" align="center" prop="kangzqddz23" />
      <el-table-column label="抗折强度平均值2" align="center" prop="kangzqdpjz2" />
      <el-table-column label="抗折强度结果判定2" align="center" prop="kangzqdjgpd2" />
      <el-table-column label="抗压强度技术指标2" align="center" prop="kangyqdjszb2" />
      <el-table-column label="抗压强度单值21" align="center" prop="kangyqddz21" />
      <el-table-column label="抗压强度单值22" align="center" prop="kangyqddz22" />
      <el-table-column label="抗压强度单值23" align="center" prop="kangyqddz23" />
      <el-table-column label="抗压强度单值24" align="center" prop="kangyqddz24" />
      <el-table-column label="抗压强度单值25" align="center" prop="kangyqddz25" />
      <el-table-column label="抗压强度单值26" align="center" prop="kangyqddz26" />
      <el-table-column label="抗压强度平均值2" align="center" prop="kangyqdpjz2" />
      <el-table-column label="抗压强度结果判定2" align="center" prop="kangyqdjgpd2" />
      <el-table-column label="取样部位3" align="center" prop="qvybw3" />
      <el-table-column label="制件日期3" align="center" prop="zijrq3" />
      <el-table-column label="试验日期3" align="center" prop="shiyrq3" />
      <el-table-column label="龄期3" align="center" prop="qil3" />
      <el-table-column label="抗折强度技术指标3" align="center" prop="kangzqdjszb3" />
      <el-table-column label="抗折强度单值31" align="center" prop="kangzqddz31" />
      <el-table-column label="抗折强度单值32" align="center" prop="kangzqddz32" />
      <el-table-column label="抗折强度单值33" align="center" prop="kangzqddz33" />
      <el-table-column label="抗折强度平均值3" align="center" prop="kangzqdpjz3" />
      <el-table-column label="抗折强度结果判定3" align="center" prop="kangzqdjgpd3" />
      <el-table-column label="抗压强度技术指标3" align="center" prop="kangyqdjszb3" />
      <el-table-column label="抗压强度单值31" align="center" prop="kangyqddz31" />
      <el-table-column label="抗压强度单值32" align="center" prop="kangyqddz32" />
      <el-table-column label="抗压强度单值33" align="center" prop="kangyqddz33" />
      <el-table-column label="抗压强度单值34" align="center" prop="kangyqddz34" />
      <el-table-column label="抗压强度单值35" align="center" prop="kangyqddz35" />
      <el-table-column label="抗压强度单值36" align="center" prop="kangyqddz36" />
      <el-table-column label="抗压强度平均值3" align="center" prop="kangyqdpjz3" />
      <el-table-column label="抗压强度结果判定3" align="center" prop="kangyqdjgpd3" />
      <el-table-column label="检测结论" align="center" prop="jiancjl" />
      <el-table-column label="附加声明" align="center" prop="fujsm" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['report_yj:snjjqdsybgBsInfo:edit']">修改</el-button>
          <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['report_yj:snjjqdsybgBsInfo:remove']">删除</el-button>
        </template>
      </el-table-column>
    </el-table>

    <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />

    <!-- 添加或修改水泥净浆强度试验报告对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="共几页" prop="totalPage">
          <el-input v-model="form.totalPage" placeholder="请输入共几页" />
        </el-form-item>
        <el-form-item label="第几页" prop="page">
          <el-input v-model="form.page" placeholder="请输入第几页" />
        </el-form-item>
        <el-form-item label="检测单位名称" prop="jiancdwmc">
          <el-input v-model="form.jiancdwmc" placeholder="请输入检测单位名称" />
        </el-form-item>
        <el-form-item label="报告编号" prop="baogbh">
          <el-input v-model="form.baogbh" placeholder="请输入报告编号" />
        </el-form-item>
        <el-form-item label="施工/委托单位" prop="shigwtdw">
          <el-input v-model="form.shigwtdw" placeholder="请输入施工/委托单位" />
        </el-form-item>
        <el-form-item label="工程名称" prop="gongcmc">
          <el-input v-model="form.gongcmc" placeholder="请输入工程名称" />
        </el-form-item>
        <el-form-item label="工程部位/用途" prop="gongcbwyt">
          <el-input v-model="form.gongcbwyt" placeholder="请输入工程部位/用途" />
        </el-form-item>
        <el-form-item label="样品名称" prop="yangpmc">
          <el-input v-model="form.yangpmc" placeholder="请输入样品名称" />
        </el-form-item>
        <el-form-item label="样品编号" prop="yangpbh">
          <el-input v-model="form.yangpbh" placeholder="请输入样品编号" />
        </el-form-item>
        <el-form-item label="样品数量" prop="yangpsl">
          <el-input v-model="form.yangpsl" placeholder="请输入样品数量" />
        </el-form-item>
        <el-form-item label="样品状态" prop="yangpzt">
          <el-input v-model="form.yangpzt" placeholder="请输入样品状态" />
        </el-form-item>
        <el-form-item label="样品时间" prop="yangpsj">
          <el-input v-model="form.yangpsj" placeholder="请输入样品时间" />
        </el-form-item>
        <el-form-item label="检测依据" prop="jiancyj">
          <el-input v-model="form.jiancyj" placeholder="请输入检测依据" />
        </el-form-item>
        <el-form-item label="判定依据" prop="pandyj">
          <el-input v-model="form.pandyj" placeholder="请输入判定依据" />
        </el-form-item>
        <el-form-item label="主要仪器设备名称及编号" prop="zhuyyqsbmcjbh">
          <el-input v-model="form.zhuyyqsbmcjbh" placeholder="请输入主要仪器设备名称及编号" />
        </el-form-item>
        <el-form-item label="设计强度(MPa)" prop="shejqd">
          <el-input v-model="form.shejqd" placeholder="请输入设计强度(MPa)" />
        </el-form-item>
        <el-form-item label="试件尺寸(mm)" prop="shijcc">
          <el-input v-model="form.shijcc" placeholder="请输入试件尺寸(mm)" />
        </el-form-item>
        <el-form-item label="流动度(S)" prop="liudd">
          <el-input v-model="form.liudd" placeholder="请输入流动度(S)" />
        </el-form-item>
        <el-form-item label="取样部位1" prop="qvybw1">
          <el-input v-model="form.qvybw1" placeholder="请输入取样部位1" />
        </el-form-item>
        <el-form-item label="制件日期1" prop="zijrq1">
          <el-input v-model="form.zijrq1" placeholder="请输入制件日期1" />
        </el-form-item>
        <el-form-item label="试验日期1" prop="shiyrq1">
          <el-input v-model="form.shiyrq1" placeholder="请输入试验日期1" />
        </el-form-item>
        <el-form-item label="龄期1" prop="qil1">
          <el-input v-model="form.qil1" placeholder="请输入龄期1" />
        </el-form-item>
        <el-form-item label="抗折强度技术指标1" prop="kangzqdjszb1">
          <el-input v-model="form.kangzqdjszb1" placeholder="请输入抗折强度技术指标1" />
        </el-form-item>
        <el-form-item label="抗折强度单值11" prop="kangzqddz11">
          <el-input v-model="form.kangzqddz11" placeholder="请输入抗折强度单值11" />
        </el-form-item>
        <el-form-item label="抗折强度单值12" prop="kangzqddz12">
          <el-input v-model="form.kangzqddz12" placeholder="请输入抗折强度单值12" />
        </el-form-item>
        <el-form-item label="抗折强度单值13" prop="kangzqddz13">
          <el-input v-model="form.kangzqddz13" placeholder="请输入抗折强度单值13" />
        </el-form-item>
        <el-form-item label="抗折强度平均值1" prop="kangzqdpjz1">
          <el-input v-model="form.kangzqdpjz1" placeholder="请输入抗折强度平均值1" />
        </el-form-item>
        <el-form-item label="抗折强度结果判定1" prop="kangzqdjgpd1">
          <el-input v-model="form.kangzqdjgpd1" placeholder="请输入抗折强度结果判定1" />
        </el-form-item>
        <el-form-item label="抗压强度技术指标1" prop="kangyqdjszb1">
          <el-input v-model="form.kangyqdjszb1" placeholder="请输入抗压强度技术指标1" />
        </el-form-item>
        <el-form-item label="抗压强度单值11" prop="kangyqddz11">
          <el-input v-model="form.kangyqddz11" placeholder="请输入抗压强度单值11" />
        </el-form-item>
        <el-form-item label="抗压强度单值12" prop="kangyqddz12">
          <el-input v-model="form.kangyqddz12" placeholder="请输入抗压强度单值12" />
        </el-form-item>
        <el-form-item label="抗压强度单值13" prop="kangyqddz13">
          <el-input v-model="form.kangyqddz13" placeholder="请输入抗压强度单值13" />
        </el-form-item>
        <el-form-item label="抗压强度单值14" prop="kangyqddz14">
          <el-input v-model="form.kangyqddz14" placeholder="请输入抗压强度单值14" />
        </el-form-item>
        <el-form-item label="抗压强度单值15" prop="kangyqddz15">
          <el-input v-model="form.kangyqddz15" placeholder="请输入抗压强度单值15" />
        </el-form-item>
        <el-form-item label="抗压强度单值16" prop="kangyqddz16">
          <el-input v-model="form.kangyqddz16" placeholder="请输入抗压强度单值16" />
        </el-form-item>
        <el-form-item label="抗压强度平均值1" prop="kangyqdpjz1">
          <el-input v-model="form.kangyqdpjz1" placeholder="请输入抗压强度平均值1" />
        </el-form-item>
        <el-form-item label="抗压强度结果判定1" prop="kangyqdjgpd1">
          <el-input v-model="form.kangyqdjgpd1" placeholder="请输入抗压强度结果判定1" />
        </el-form-item>
        <el-form-item label="取样部位2" prop="qvybw2">
          <el-input v-model="form.qvybw2" placeholder="请输入取样部位2" />
        </el-form-item>
        <el-form-item label="制件日期2" prop="zijrq2">
          <el-input v-model="form.zijrq2" placeholder="请输入制件日期2" />
        </el-form-item>
        <el-form-item label="试验日期2" prop="shiyrq2">
          <el-input v-model="form.shiyrq2" placeholder="请输入试验日期2" />
        </el-form-item>
        <el-form-item label="龄期2" prop="qil2">
          <el-input v-model="form.qil2" placeholder="请输入龄期2" />
        </el-form-item>
        <el-form-item label="抗折强度技术指标2" prop="kangzqdjszb2">
          <el-input v-model="form.kangzqdjszb2" placeholder="请输入抗折强度技术指标2" />
        </el-form-item>
        <el-form-item label="抗折强度单值21" prop="kangzqddz21">
          <el-input v-model="form.kangzqddz21" placeholder="请输入抗折强度单值21" />
        </el-form-item>
        <el-form-item label="抗折强度单值22" prop="kangzqddz22">
          <el-input v-model="form.kangzqddz22" placeholder="请输入抗折强度单值22" />
        </el-form-item>
        <el-form-item label="抗折强度单值23" prop="kangzqddz23">
          <el-input v-model="form.kangzqddz23" placeholder="请输入抗折强度单值23" />
        </el-form-item>
        <el-form-item label="抗折强度平均值2" prop="kangzqdpjz2">
          <el-input v-model="form.kangzqdpjz2" placeholder="请输入抗折强度平均值2" />
        </el-form-item>
        <el-form-item label="抗折强度结果判定2" prop="kangzqdjgpd2">
          <el-input v-model="form.kangzqdjgpd2" placeholder="请输入抗折强度结果判定2" />
        </el-form-item>
        <el-form-item label="抗压强度技术指标2" prop="kangyqdjszb2">
          <el-input v-model="form.kangyqdjszb2" placeholder="请输入抗压强度技术指标2" />
        </el-form-item>
        <el-form-item label="抗压强度单值21" prop="kangyqddz21">
          <el-input v-model="form.kangyqddz21" placeholder="请输入抗压强度单值21" />
        </el-form-item>
        <el-form-item label="抗压强度单值22" prop="kangyqddz22">
          <el-input v-model="form.kangyqddz22" placeholder="请输入抗压强度单值22" />
        </el-form-item>
        <el-form-item label="抗压强度单值23" prop="kangyqddz23">
          <el-input v-model="form.kangyqddz23" placeholder="请输入抗压强度单值23" />
        </el-form-item>
        <el-form-item label="抗压强度单值24" prop="kangyqddz24">
          <el-input v-model="form.kangyqddz24" placeholder="请输入抗压强度单值24" />
        </el-form-item>
        <el-form-item label="抗压强度单值25" prop="kangyqddz25">
          <el-input v-model="form.kangyqddz25" placeholder="请输入抗压强度单值25" />
        </el-form-item>
        <el-form-item label="抗压强度单值26" prop="kangyqddz26">
          <el-input v-model="form.kangyqddz26" placeholder="请输入抗压强度单值26" />
        </el-form-item>
        <el-form-item label="抗压强度平均值2" prop="kangyqdpjz2">
          <el-input v-model="form.kangyqdpjz2" placeholder="请输入抗压强度平均值2" />
        </el-form-item>
        <el-form-item label="抗压强度结果判定2" prop="kangyqdjgpd2">
          <el-input v-model="form.kangyqdjgpd2" placeholder="请输入抗压强度结果判定2" />
        </el-form-item>
        <el-form-item label="取样部位3" prop="qvybw3">
          <el-input v-model="form.qvybw3" placeholder="请输入取样部位3" />
        </el-form-item>
        <el-form-item label="制件日期3" prop="zijrq3">
          <el-input v-model="form.zijrq3" placeholder="请输入制件日期3" />
        </el-form-item>
        <el-form-item label="试验日期3" prop="shiyrq3">
          <el-input v-model="form.shiyrq3" placeholder="请输入试验日期3" />
        </el-form-item>
        <el-form-item label="龄期3" prop="qil3">
          <el-input v-model="form.qil3" placeholder="请输入龄期3" />
        </el-form-item>
        <el-form-item label="抗折强度技术指标3" prop="kangzqdjszb3">
          <el-input v-model="form.kangzqdjszb3" placeholder="请输入抗折强度技术指标3" />
        </el-form-item>
        <el-form-item label="抗折强度单值31" prop="kangzqddz31">
          <el-input v-model="form.kangzqddz31" placeholder="请输入抗折强度单值31" />
        </el-form-item>
        <el-form-item label="抗折强度单值32" prop="kangzqddz32">
          <el-input v-model="form.kangzqddz32" placeholder="请输入抗折强度单值32" />
        </el-form-item>
        <el-form-item label="抗折强度单值33" prop="kangzqddz33">
          <el-input v-model="form.kangzqddz33" placeholder="请输入抗折强度单值33" />
        </el-form-item>
        <el-form-item label="抗折强度平均值3" prop="kangzqdpjz3">
          <el-input v-model="form.kangzqdpjz3" placeholder="请输入抗折强度平均值3" />
        </el-form-item>
        <el-form-item label="抗折强度结果判定3" prop="kangzqdjgpd3">
          <el-input v-model="form.kangzqdjgpd3" placeholder="请输入抗折强度结果判定3" />
        </el-form-item>
        <el-form-item label="抗压强度技术指标3" prop="kangyqdjszb3">
          <el-input v-model="form.kangyqdjszb3" placeholder="请输入抗压强度技术指标3" />
        </el-form-item>
        <el-form-item label="抗压强度单值31" prop="kangyqddz31">
          <el-input v-model="form.kangyqddz31" placeholder="请输入抗压强度单值31" />
        </el-form-item>
        <el-form-item label="抗压强度单值32" prop="kangyqddz32">
          <el-input v-model="form.kangyqddz32" placeholder="请输入抗压强度单值32" />
        </el-form-item>
        <el-form-item label="抗压强度单值33" prop="kangyqddz33">
          <el-input v-model="form.kangyqddz33" placeholder="请输入抗压强度单值33" />
        </el-form-item>
        <el-form-item label="抗压强度单值34" prop="kangyqddz34">
          <el-input v-model="form.kangyqddz34" placeholder="请输入抗压强度单值34" />
        </el-form-item>
        <el-form-item label="抗压强度单值35" prop="kangyqddz35">
          <el-input v-model="form.kangyqddz35" placeholder="请输入抗压强度单值35" />
        </el-form-item>
        <el-form-item label="抗压强度单值36" prop="kangyqddz36">
          <el-input v-model="form.kangyqddz36" placeholder="请输入抗压强度单值36" />
        </el-form-item>
        <el-form-item label="抗压强度平均值3" prop="kangyqdpjz3">
          <el-input v-model="form.kangyqdpjz3" placeholder="请输入抗压强度平均值3" />
        </el-form-item>
        <el-form-item label="抗压强度结果判定3" prop="kangyqdjgpd3">
          <el-input v-model="form.kangyqdjgpd3" placeholder="请输入抗压强度结果判定3" />
        </el-form-item>
        <el-form-item label="检测结论" prop="jiancjl">
          <el-input v-model="form.jiancjl" placeholder="请输入检测结论" />
        </el-form-item>
        <el-form-item label="附加声明" prop="fujsm">
          <el-input v-model="form.fujsm" placeholder="请输入附加声明" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button size="small" :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>
        <el-button size="small" @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>

<script>
import { listSnjjqdsybgBsInfo, getSnjjqdsybgBsInfo, delSnjjqdsybgBsInfo, addSnjjqdsybgBsInfo, updateSnjjqdsybgBsInfo } from "@/api/report_yj/snjjqdsybgBsInfo";

export default {
  name: "SnjjqdsybgBsInfo",
  data() {
    return {
      // 按钮loading
      buttonLoading: false,
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 水泥净浆强度试验报告表格数据
      snjjqdsybgBsInfoList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        totalPage: undefined,
        page: undefined,
        jiancdwmc: undefined,
        baogbh: undefined,
        shigwtdw: undefined,
        gongcmc: undefined,
        gongcbwyt: undefined,
        yangpmc: undefined,
        yangpbh: undefined,
        yangpsl: undefined,
        yangpzt: undefined,
        yangpsj: undefined,
        jiancyj: undefined,
        pandyj: undefined,
        zhuyyqsbmcjbh: undefined,
        shejqd: undefined,
        shijcc: undefined,
        liudd: undefined,
        qvybw1: undefined,
        zijrq1: undefined,
        shiyrq1: undefined,
        qil1: undefined,
        kangzqdjszb1: undefined,
        kangzqddz11: undefined,
        kangzqddz12: undefined,
        kangzqddz13: undefined,
        kangzqdpjz1: undefined,
        kangzqdjgpd1: undefined,
        kangyqdjszb1: undefined,
        kangyqddz11: undefined,
        kangyqddz12: undefined,
        kangyqddz13: undefined,
        kangyqddz14: undefined,
        kangyqddz15: undefined,
        kangyqddz16: undefined,
        kangyqdpjz1: undefined,
        kangyqdjgpd1: undefined,
        qvybw2: undefined,
        zijrq2: undefined,
        shiyrq2: undefined,
        qil2: undefined,
        kangzqdjszb2: undefined,
        kangzqddz21: undefined,
        kangzqddz22: undefined,
        kangzqddz23: undefined,
        kangzqdpjz2: undefined,
        kangzqdjgpd2: undefined,
        kangyqdjszb2: undefined,
        kangyqddz21: undefined,
        kangyqddz22: undefined,
        kangyqddz23: undefined,
        kangyqddz24: undefined,
        kangyqddz25: undefined,
        kangyqddz26: undefined,
        kangyqdpjz2: undefined,
        kangyqdjgpd2: undefined,
        qvybw3: undefined,
        zijrq3: undefined,
        shiyrq3: undefined,
        qil3: undefined,
        kangzqdjszb3: undefined,
        kangzqddz31: undefined,
        kangzqddz32: undefined,
        kangzqddz33: undefined,
        kangzqdpjz3: undefined,
        kangzqdjgpd3: undefined,
        kangyqdjszb3: undefined,
        kangyqddz31: undefined,
        kangyqddz32: undefined,
        kangyqddz33: undefined,
        kangyqddz34: undefined,
        kangyqddz35: undefined,
        kangyqddz36: undefined,
        kangyqdpjz3: undefined,
        kangyqdjgpd3: undefined,
        jiancjl: undefined,
        fujsm: undefined
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        excelId: [{ required: true, message: "一份excel表格的唯一id(其他的excel主表，都应有此字段）不能为空", trigger: "blur" }],
        totalPage: [{ required: true, message: "共几页不能为空", trigger: "blur" }],
        page: [{ required: true, message: "第几页不能为空", trigger: "blur" }],
        jiancdwmc: [{ required: true, message: "检测单位名称不能为空", trigger: "blur" }],
        baogbh: [{ required: true, message: "报告编号不能为空", trigger: "blur" }],
        shigwtdw: [{ required: true, message: "施工/委托单位不能为空", trigger: "blur" }],
        gongcmc: [{ required: true, message: "工程名称不能为空", trigger: "blur" }],
        gongcbwyt: [{ required: true, message: "工程部位/用途不能为空", trigger: "blur" }],
        yangpmc: [{ required: true, message: "样品名称不能为空", trigger: "blur" }],
        yangpbh: [{ required: true, message: "样品编号不能为空", trigger: "blur" }],
        yangpsl: [{ required: true, message: "样品数量不能为空", trigger: "blur" }],
        yangpzt: [{ required: true, message: "样品状态不能为空", trigger: "blur" }],
        yangpsj: [{ required: true, message: "样品时间不能为空", trigger: "blur" }],
        jiancyj: [{ required: true, message: "检测依据不能为空", trigger: "blur" }],
        pandyj: [{ required: true, message: "判定依据不能为空", trigger: "blur" }],
        zhuyyqsbmcjbh: [{ required: true, message: "主要仪器设备名称及编号不能为空", trigger: "blur" }],
        shejqd: [{ required: true, message: "设计强度(MPa)不能为空", trigger: "blur" }],
        shijcc: [{ required: true, message: "试件尺寸(mm)不能为空", trigger: "blur" }],
        liudd: [{ required: true, message: "流动度(S)不能为空", trigger: "blur" }],
        qvybw1: [{ required: true, message: "取样部位1不能为空", trigger: "blur" }],
        zijrq1: [{ required: true, message: "制件日期1不能为空", trigger: "blur" }],
        shiyrq1: [{ required: true, message: "试验日期1不能为空", trigger: "blur" }],
        qil1: [{ required: true, message: "龄期1不能为空", trigger: "blur" }],
        kangzqdjszb1: [{ required: true, message: "抗折强度技术指标1不能为空", trigger: "blur" }],
        kangzqddz11: [{ required: true, message: "抗折强度单值11不能为空", trigger: "blur" }],
        kangzqddz12: [{ required: true, message: "抗折强度单值12不能为空", trigger: "blur" }],
        kangzqddz13: [{ required: true, message: "抗折强度单值13不能为空", trigger: "blur" }],
        kangzqdpjz1: [{ required: true, message: "抗折强度平均值1不能为空", trigger: "blur" }],
        kangzqdjgpd1: [{ required: true, message: "抗折强度结果判定1不能为空", trigger: "blur" }],
        kangyqdjszb1: [{ required: true, message: "抗压强度技术指标1不能为空", trigger: "blur" }],
        kangyqddz11: [{ required: true, message: "抗压强度单值11不能为空", trigger: "blur" }],
        kangyqddz12: [{ required: true, message: "抗压强度单值12不能为空", trigger: "blur" }],
        kangyqddz13: [{ required: true, message: "抗压强度单值13不能为空", trigger: "blur" }],
        kangyqddz14: [{ required: true, message: "抗压强度单值14不能为空", trigger: "blur" }],
        kangyqddz15: [{ required: true, message: "抗压强度单值15不能为空", trigger: "blur" }],
        kangyqddz16: [{ required: true, message: "抗压强度单值16不能为空", trigger: "blur" }],
        kangyqdpjz1: [{ required: true, message: "抗压强度平均值1不能为空", trigger: "blur" }],
        kangyqdjgpd1: [{ required: true, message: "抗压强度结果判定1不能为空", trigger: "blur" }],
        qvybw2: [{ required: true, message: "取样部位2不能为空", trigger: "blur" }],
        zijrq2: [{ required: true, message: "制件日期2不能为空", trigger: "blur" }],
        shiyrq2: [{ required: true, message: "试验日期2不能为空", trigger: "blur" }],
        qil2: [{ required: true, message: "龄期2不能为空", trigger: "blur" }],
        kangzqdjszb2: [{ required: true, message: "抗折强度技术指标2不能为空", trigger: "blur" }],
        kangzqddz21: [{ required: true, message: "抗折强度单值21不能为空", trigger: "blur" }],
        kangzqddz22: [{ required: true, message: "抗折强度单值22不能为空", trigger: "blur" }],
        kangzqddz23: [{ required: true, message: "抗折强度单值23不能为空", trigger: "blur" }],
        kangzqdpjz2: [{ required: true, message: "抗折强度平均值2不能为空", trigger: "blur" }],
        kangzqdjgpd2: [{ required: true, message: "抗折强度结果判定2不能为空", trigger: "blur" }],
        kangyqdjszb2: [{ required: true, message: "抗压强度技术指标2不能为空", trigger: "blur" }],
        kangyqddz21: [{ required: true, message: "抗压强度单值21不能为空", trigger: "blur" }],
        kangyqddz22: [{ required: true, message: "抗压强度单值22不能为空", trigger: "blur" }],
        kangyqddz23: [{ required: true, message: "抗压强度单值23不能为空", trigger: "blur" }],
        kangyqddz24: [{ required: true, message: "抗压强度单值24不能为空", trigger: "blur" }],
        kangyqddz25: [{ required: true, message: "抗压强度单值25不能为空", trigger: "blur" }],
        kangyqddz26: [{ required: true, message: "抗压强度单值26不能为空", trigger: "blur" }],
        kangyqdpjz2: [{ required: true, message: "抗压强度平均值2不能为空", trigger: "blur" }],
        kangyqdjgpd2: [{ required: true, message: "抗压强度结果判定2不能为空", trigger: "blur" }],
        qvybw3: [{ required: true, message: "取样部位3不能为空", trigger: "blur" }],
        zijrq3: [{ required: true, message: "制件日期3不能为空", trigger: "blur" }],
        shiyrq3: [{ required: true, message: "试验日期3不能为空", trigger: "blur" }],
        qil3: [{ required: true, message: "龄期3不能为空", trigger: "blur" }],
        kangzqdjszb3: [{ required: true, message: "抗折强度技术指标3不能为空", trigger: "blur" }],
        kangzqddz31: [{ required: true, message: "抗折强度单值31不能为空", trigger: "blur" }],
        kangzqddz32: [{ required: true, message: "抗折强度单值32不能为空", trigger: "blur" }],
        kangzqddz33: [{ required: true, message: "抗折强度单值33不能为空", trigger: "blur" }],
        kangzqdpjz3: [{ required: true, message: "抗折强度平均值3不能为空", trigger: "blur" }],
        kangzqdjgpd3: [{ required: true, message: "抗折强度结果判定3不能为空", trigger: "blur" }],
        kangyqdjszb3: [{ required: true, message: "抗压强度技术指标3不能为空", trigger: "blur" }],
        kangyqddz31: [{ required: true, message: "抗压强度单值31不能为空", trigger: "blur" }],
        kangyqddz32: [{ required: true, message: "抗压强度单值32不能为空", trigger: "blur" }],
        kangyqddz33: [{ required: true, message: "抗压强度单值33不能为空", trigger: "blur" }],
        kangyqddz34: [{ required: true, message: "抗压强度单值34不能为空", trigger: "blur" }],
        kangyqddz35: [{ required: true, message: "抗压强度单值35不能为空", trigger: "blur" }],
        kangyqddz36: [{ required: true, message: "抗压强度单值36不能为空", trigger: "blur" }],
        kangyqdpjz3: [{ required: true, message: "抗压强度平均值3不能为空", trigger: "blur" }],
        kangyqdjgpd3: [{ required: true, message: "抗压强度结果判定3不能为空", trigger: "blur" }],
        jiancjl: [{ required: true, message: "检测结论不能为空", trigger: "blur" }],
        fujsm: [{ required: true, message: "附加声明不能为空", trigger: "blur" }]
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询水泥净浆强度试验报告列表 */
    getList() {
      this.loading = true;
      listSnjjqdsybgBsInfo(this.queryParams).then((response) => {
        this.snjjqdsybgBsInfoList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        excelId: undefined,
        totalPage: undefined,
        page: undefined,
        jiancdwmc: undefined,
        baogbh: undefined,
        shigwtdw: undefined,
        gongcmc: undefined,
        gongcbwyt: undefined,
        yangpmc: undefined,
        yangpbh: undefined,
        yangpsl: undefined,
        yangpzt: undefined,
        yangpsj: undefined,
        jiancyj: undefined,
        pandyj: undefined,
        zhuyyqsbmcjbh: undefined,
        shejqd: undefined,
        shijcc: undefined,
        liudd: undefined,
        qvybw1: undefined,
        zijrq1: undefined,
        shiyrq1: undefined,
        qil1: undefined,
        kangzqdjszb1: undefined,
        kangzqddz11: undefined,
        kangzqddz12: undefined,
        kangzqddz13: undefined,
        kangzqdpjz1: undefined,
        kangzqdjgpd1: undefined,
        kangyqdjszb1: undefined,
        kangyqddz11: undefined,
        kangyqddz12: undefined,
        kangyqddz13: undefined,
        kangyqddz14: undefined,
        kangyqddz15: undefined,
        kangyqddz16: undefined,
        kangyqdpjz1: undefined,
        kangyqdjgpd1: undefined,
        qvybw2: undefined,
        zijrq2: undefined,
        shiyrq2: undefined,
        qil2: undefined,
        kangzqdjszb2: undefined,
        kangzqddz21: undefined,
        kangzqddz22: undefined,
        kangzqddz23: undefined,
        kangzqdpjz2: undefined,
        kangzqdjgpd2: undefined,
        kangyqdjszb2: undefined,
        kangyqddz21: undefined,
        kangyqddz22: undefined,
        kangyqddz23: undefined,
        kangyqddz24: undefined,
        kangyqddz25: undefined,
        kangyqddz26: undefined,
        kangyqdpjz2: undefined,
        kangyqdjgpd2: undefined,
        qvybw3: undefined,
        zijrq3: undefined,
        shiyrq3: undefined,
        qil3: undefined,
        kangzqdjszb3: undefined,
        kangzqddz31: undefined,
        kangzqddz32: undefined,
        kangzqddz33: undefined,
        kangzqdpjz3: undefined,
        kangzqdjgpd3: undefined,
        kangyqdjszb3: undefined,
        kangyqddz31: undefined,
        kangyqddz32: undefined,
        kangyqddz33: undefined,
        kangyqddz34: undefined,
        kangyqddz35: undefined,
        kangyqddz36: undefined,
        kangyqdpjz3: undefined,
        kangyqdjgpd3: undefined,
        jiancjl: undefined,
        fujsm: undefined,
        delFlag: undefined,
        createBy: undefined,
        createTime: undefined,
        updateBy: undefined,
        updateTime: undefined
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map((item) => item.excelId);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加水泥净浆强度试验报告";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.loading = true;
      this.reset();
      const excelId = row.excelId || this.ids;
      getSnjjqdsybgBsInfo(excelId).then((response) => {
        this.loading = false;
        this.form = response.data;
        this.open = true;
        this.title = "修改水泥净浆强度试验报告";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate((valid) => {
        if (valid) {
          this.buttonLoading = true;
          if (this.form.excelId != null) {
            updateSnjjqdsybgBsInfo(this.form)
              .then((response) => {
                this.$modal.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              })
              .finally(() => {
                this.buttonLoading = false;
              });
          } else {
            addSnjjqdsybgBsInfo(this.form)
              .then((response) => {
                this.$modal.msgSuccess("新增成功");
                this.open = false;
                this.getList();
              })
              .finally(() => {
                this.buttonLoading = false;
              });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const excelIds = row.excelId || this.ids;
      this.$modal
        .confirm('是否确认删除水泥净浆强度试验报告编号为"' + excelIds + '"的数据项？')
        .then(() => {
          this.loading = true;
          return delSnjjqdsybgBsInfo(excelIds);
        })
        .then(() => {
          this.loading = false;
          this.getList();
          this.$modal.msgSuccess("删除成功");
        })
        .catch(() => {})
        .finally(() => {
          this.loading = false;
        });
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download(
        "report_yj/snjjqdsybgBsInfo/export",
        {
          ...this.queryParams
        },
        `snjjqdsybgBsInfo_${new Date().getTime()}.xlsx`
      );
    }
  }
};
</script>
